<?php
/*=============================================================================
|| ##################################################################
||	phpFoX Konsort
|| ##################################################################
||
||	Copyright		: (C) 2005-2007 PHPFOX Limited a Reality Fox Creation
||	Contact			: info@phpfox.com
||
||	- phpFoX and all of its source code and files are protected by Copyright Laws.
||
||	- The license for phpFoX permits you to install this software on a single domain (.com, .org, .net, etc.).
||
||	- You may also not remove this copyright screen which shows the copyright information and credits for phpFoX (RealityFOX Creations).
||
||	- phpFoX Konsort is NOT a FREE software - http://www.phpfox.com/license/
||
|| ##################################################################
=============================================================================*/

/* $File: ./site/admin/index.php, $Author:  $ */

$oLang = &App::getLanguage();
$aLanguage = $oLang->getDetails();
$oReq = &App::getRequest();

ob_start();

if ( $sFrame = $oReq->get('viewframe') )
{
	$sFrameName = base64_decode($sFrame);
}

@ob_clean();
?>
<html>
<head>
	<title><?php print App::format('administration_panel'); ?></title>
	<meta http-equiv="Content-Type" content="text/html;charset=<?php print $aLanguage['charset']; ?>" />
	<script type="text/javascript">
	<!--
	if (self.parent.frames.length != 0)
	{
		self.parent.location.replace(document.location.href);
	}
	// -->
	</script>
</head>
<frameset cols="250,*"  framespacing="0" border="0" frameborder="0" frameborder="no" border="0">
<frame src="<?php print App::makeUrl('admin.frames.left'); ?>" name="nav" scrolling="yes" frameborder="0" marginwidth="0" marginheight="0" border="no" />
	<frameset rows="25,*"  framespacing="0" border="0" frameborder="0" frameborder="no" border="0">
		<frame src="<?php print App::makeUrl('admin.frames.top'); ?>" name="head" scrolling="no" noresize="noresize" frameborder="0" marginwidth="10" marginheight="0" border="no" />
		<frame src="<?php print App::makeUrl((isset($sFrameName) ? $sFrameName : 'admin.frames.main')); ?>" name="main" scrolling="yes" frameborder="0" marginwidth="10" marginheight="10" border="no" />
	</frameset>
</frameset>
<body>
		<p>Sorry, your browser doesn't seem to support frames</p>
</body>
</html>
<?php
	ob_end_flush();
?>
<?php exit; ?>